package com.design.YiTong.model.user;

import com.design.YiTong.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "UserInfo")
@TableName("user_info")
public class UserInfo extends BaseEntity{
    @ApiModelProperty(value = "手机号码")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "昵称")
    @TableField("nickname")
    private String nickName;

    @ApiModelProperty(value = "位置")
    @TableField("point")
    private String point;

    @ApiModelProperty(value = "角色")
    @TableField("role")
    private byte role;

    @ApiModelProperty(value = "头像")
    @TableField("photo")
    private int photo;

    @ApiModelProperty(value = "密码")
    @TableField("pwd")
    private String pwd;
}
